package com.yt.project.model.dto.douyin;

import com.baomidou.mybatisplus.annotation.TableField;
import com.yt.project.common.PageRequest;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class DouyinQueryRequest extends PageRequest implements Serializable {

    /**
     * 定义搜索词
     */
    private String searchText;


    /**
     * 分享数
     */
    @TableField(value = "share")
    private Long share;

    /**
     * 评论数
     */
    @TableField(value = "comment")
    private Long comment;

    /**
     * 点赞数
     */
    @TableField(value = "zan")
    private Long zan;

    /**
     * 粉丝数
     */
    @TableField(value = "fan")
    private Long fan;


    /**
     * 分类
     */
    @TableField(value = "ttype")
    private List<String> types;


    /**
     * 开始时间
     */
    @TableField(value = "start_date")
    private Date startDate;

    /**
     * 结束时间
     */
    @TableField(value = "end_date")
    private Date endDate;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
